<?php
/**
 * Created by JetBrains PhpStorm.
 * User: zhouyang
 * Date: 13-7-15
 * Time: 下午4:31
 * To change this template use File | Settings | File Templates.
 */
//开启报错提示
include '../init.php';

include VENDOR_PATH . 'simplehtmldom_1_5/simple_html_dom.php';

define('CURR_PROJECT_NAME','admin');
define('SITE_PREFIX',  'wf_admin_');

define('CURR_PROJECT_PATH', ROOT_PATH . CURR_PROJECT_NAME . DS);
define('CONTROLLER_PATH', CURR_PROJECT_PATH . 'controller' . DS);
define('MODEL_PATH', CURR_PROJECT_PATH . 'model' . DS);
define('TEMPLATE_PATH', CURR_PROJECT_PATH . 'template' . DS);

//项目统一url
define('SITE_URL', 'http://'.CURR_PROJECT_HOST.'/' . CURR_PROJECT_NAME .'/');
define('PLUGIN_URL', '../../Plugin/');
define('DWZ_URL', PLUGIN_URL.'dwz-ria1.4.6/');
define('KINDEDITOR_URL', PLUGIN_URL.'kindeditor-4.1.7/');
define('UPLOADIFY_URL', PLUGIN_URL.'uploadify-3.2.1/');

// AJAX RETURN CODE
define('AJ_RET_SUCC',   200);//成功
define('AJ_RET_FAIL',   300);//失败
define('AJ_RET_NOLOGIN',301);//未登录状态